package com.oig.sys.auth.service;


import com.oig.sys.auth.entity.TbUserColumn;

import java.util.List;


/**
 * @author wuxl
 */
public interface ITbUserColumnService {

    List<Integer> findAllUCResourceIdByUserId(Integer userId);

    List<Integer> findUserColumnIdByResourceId(Integer resourceId);

    TbUserColumn getById(Integer id);

    TbUserColumn getByResourceIdAndUserId(Integer resourceId, Integer userId);

    TbUserColumn addUserColumn(Integer resourceId, Integer userId);

    void deleteByIds(List<Integer> idList);

    List<Integer> findUserIdByResourceId(Integer resourceId);

    List<TbUserColumn> getByResourceId(Integer resourceId);
}
